﻿@model Fengsoft.AIBlog.Web.Models.RegisterViewModel
@{
    ViewBag.Title=SiteConfiguration.CombineTitle(AccountResource.RegistrationPageTitle);
    Layout="~/Views/Shared/_HeaderFooterLayout.cshtml";
}
@section head{
    <!-- CSS Page Style -->
    <link rel="stylesheet" href="~/assets/css/pages/page_log_reg_v1.css" />
}
@section scripts {
}
<!--=== Breadcrumbs ===-->
<div class="breadcrumbs">
    <div class="container">
        <h1 class="pull-left">@AccountResource.RegistrationPageTitle</h1>
    </div><!--/container-->
</div><!--/breadcrumbs-->
<!--=== End Breadcrumbs ===-->
<!--=== Content Part ===-->
<div class="container content">
    <div class="row">
        <div class="col-md-6 col-md-offset-3 col-sm-8 col-sm-offset-2">
            @using (Html.BeginForm("Register", "Account", FormMethod.Post, new { @class = "reg-page", role = "form" }))
            {
                @Html.AntiForgeryToken()
                <div class="reg-header">
                    <h2>@AccountResource.RegistrationFormTitle</h2>
                    <p>
                        @AccountResource.RegistrationDescription1 
                        <a href="~/account/login" class="color-green">@AccountResource.RegistrationDescription2</a> 
                        @AccountResource.RegistrationDescription3
                    </p>
                </div>
                @Html.ValidationSummary("", new { @class = "text-danger" })
                @Html.LabelFor(m => m.Email)
                <span class="color-red">*</span>
                @Html.TextBoxFor(m => m.Email, new { @class = "form-control  margin-bottom-20" })
                <div class="row">
                    <div class="col-sm-6">
                        @Html.LabelFor(m => m.Password)
                        <span class="color-red">*</span>
                        @Html.PasswordFor(m => m.Password, new { @class = "form-control margin-bottom-20" })
                    </div>
                    <div class="col-sm-6">
                        @Html.LabelFor(m => m.ConfirmPassword)
                        <span class="color-red">*</span>
                        @Html.PasswordFor(m => m.ConfirmPassword, new { @class = "form-control margin-bottom-20" })
                    </div>
                </div>
                <hr />
                <div class="row">
                    <div class="col-lg-6"></div>
                    <div class="col-lg-6 text-right">
                        <button class="btn-u" type="submit">@AccountResource.RegisterLabel</button>
                    </div>
                </div>
            }
        </div>
    </div>
</div><!--/container-->
<!--=== End Content Part ===-->